void main() {
  //第一种定义Maps的方法
  var person = {
    "name": "张三",
    "age": 20,
    "work": ["程序员", "送外卖"]
  };

  print(person);
  print(person["name"]);
  print(person["age"]);

  print("----------");
  //第二种定义Maps的方法
  var p = new Map();
  p["name"] = "李四";
  p["age"] = 21;
  p["work"] = ["程序员", "运维"];
  print(p);
  print(p["work"]);
}
